#ifndef DDAS_RESEARCHER_RESULT_HANDLER_HPP
#define DDAS_RESEARCHER_RESULT_HANDLER_HPP

#include "DDAS_XML_Handler.hpp"
#include "DDAS_DB_Handler.hpp"
#include "ddas_definitions.h"

///This class is meant to keep an eye on the results across multiple jobs, informing the system of their state
class DDAS_Researcher_Result_Handler
{
	public:

	DDAS_Researcher_Result_Handler();

	~DDAS_Researcher_Result_Handler();


	int DDAS_Researcher_Result_Handler::getCurrentBestResultAsXMLDoc( int job_id );

	int DDAS_Researcher_Result_Handler::writeResultsToXML( int job_id );

	int DDAS_Researcher_Result_Handler::clearDatabase( int job_id );

	int DDAS_Researcher_Result_Handler::queryForCompleteJobs( int* size, int** job_ids );
};

#endif
